package cn.com.mapper;

import cn.com.beans.ActivationCode;

import java.util.List;

public interface ActivationCodeMapper {
    int deleteByPrimaryKey(Integer acId);

    int insert(ActivationCode record);

    int insertSelective(ActivationCode record);

    ActivationCode selectByPrimaryKey(Integer acId);

    int updateByPrimaryKeySelective(ActivationCode record);

    int updateByPrimaryKey(ActivationCode record);

    List<ActivationCode> selectByACtivationCode(ActivationCode record);

    /**
     * 获得所有数据
     * @return
     */
    List<ActivationCode> findAll();
}